﻿namespace Papyrus.Web.Models
{
    using Papyrus.Web.Models.Entities;
    using System;

    public class LoanViewModel
    {
        public LoanViewModel()
        {
        }

        public LoanViewModel(Loan loanModel)
        {
            this.Id = loanModel.id;
            this.LoanDate = loanModel.LoanDate;
            this.ReturnDate = loanModel.ReturnDate;
        }

        public Guid Id { get; set; }

        //public Guid CustomerId { get; set; }
        
        //public string MediumTitle { get; set; }

        //public string MediaAssetCode { get; set; }

        public DateTime LoanDate { get; set; }

        public DateTime? ReturnDate { get; set; }
    }
}